package com.company.stack;

public class StackTest {

    public static void main(String[] args) {
        StackL stackL = new StackL();
        for (int i=0;i<10;i++){
            stackL.push(i);
            System.out.println(stackL.top());
        }
        stackL.pop();
        System.err.println(stackL);
    }
}
